package com.gimi.cloud.bbp.entity.page;

import java.util.Date;
import java.util.List;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.gimi.cloud.bbp.entity.base.BaseTable;

@Table(name = "pc_page_config")
public class PageConfig extends BaseTable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Id
	private Integer id;
	
	/**
	 * 页面名称
	 */
	private String pageName;
	
	/**
	 * 开始时间
	 */
	private Date startTime;
	
	/**
	 * 到期时间
	 */
	private Date endTime;
	
	/**
	 * 结束后无活动是否显示默认
	 */
	private Integer pageDefault;
	
	/**
	 * 类型:首页1 专场2
	 */
	private Integer type;
	
	/**
	 * 描述
	 */
	private String describes;
	
	/**
	 * 状态1未审核2审核不通过3定时发布4已发布5下架
	 */
	private Integer status;
	
	@Transient
	private List<PageColumn> pageColumns;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPageName() {
		return pageName;
	}

	public void setPageName(String pageName) {
		this.pageName = pageName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getPageDefault() {
		return pageDefault;
	}

	public void setPageDefault(Integer pageDefault) {
		this.pageDefault = pageDefault;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getDescribes() {
		return describes;
	}

	public void setDescribes(String describes) {
		this.describes = describes;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public List<PageColumn> getPageColumns() {
		return pageColumns;
	}

	public void setPageColumns(List<PageColumn> pageColumns) {
		this.pageColumns = pageColumns;
	}

	

}
